// MiscAppIconAnimator.h -- This is an Object to animate the icon
// for an application. This Object will allow
// similiar activity to NeXTMail when new mail arrives.
// Written by Craig Laurent Copyright 1995 by Craig Laurent.
// Version 1.0. All rights reserved.
//
// This notice may not be removed from this source code.
//
// This object is included in the MiscKit by permission from the author
// and its use is governed by the MiscKit license, found in the file
// "License.rtf" in the MiscKit distribution. Please refer to that file
// for a list of all applicable permissions and restrictions.
//
#import <appkit/appkit.h>
/* MiscAppIconAnimator. - an Object to animate the icon for an application. This Object will allow similiar activity to NeXTMail when new mail arrives. Pass in an List of NXImages, an List of integers indicating the pattern, and the number of loops through the pattern to execute. The time interval between image changes, and the stopAnimation icon can be set after initialization.
imageArray - an List of NXImages to be placed in the icon one at a time.
animationPattern - an List of integers. Each number indicates which image number (objectAt:) should be displayed. The order of the numbers will reflect the pattern of the animation.
patternLoops - the number of times that the animationPattern will be looped through.
timeInterval - the time interval between image changes. Defaults to 0.2 seconds. See setTimeInterval: method.
indexOfEndIcon - the index of the icon to be displayed at the end of the animation cycle. Defaults to 1. See setIndexOfEndIcon: method.
indexOfStopIcon - the index of the icon to be displayed after stopAnimation:. Defaults to 0. See setIndexOfStopIcon: method.